Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused macro rules #827

Merged
merged 2 commits into from
May 16, 2022
Merged

Conversation

alygin
Copy link
Contributor

@alygin alygin commented May 14, 2022

The new unused_macro_rules lint that recently landed in nightly breaks CI builds.

This fix removes unused macro arms in tests.

Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! This lint is now allowed by default (rust-lang/rust#97032), but I think addressing some of them is reasonable.

Comment on lines 225 to 227
(@parse $($tail:tt)*) => {
compile_error!("invalid `go!` syntax")
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a false positive since this rule exists to be "unused".

Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

@bors
Copy link
Contributor

bors bot commented May 16, 2022

Build succeeded:

@bors bors bot merged commit 6f52bea into crossbeam-rs:master May 16, 2022
@alygin alygin deleted the remove-unused-macro-rules branch May 16, 2022 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants